home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / BSP Tree 1.2 / Sources / Graphics / source / rcpolygon_3d.cp < prev    next >
Encoding:
Text File  |  1995-03-26  |  1.8 KB  |  39 lines  |  [TEXT/MMCC]

  1. //------------------------------------------------------------------------------
  2. //    File:                    rcpolygon.cp
  3. //    Date:                    9/23/94
  4. //    Author:                Bretton Wade
  5. //
  6. //    Description:    this file contains the class methods for a reference
  7. //                                counted polygon.
  8. //
  9. //------------------------------------------------------------------------------
  10.  
  11. #include "rcpolygon_3d.h"
  12.  
  13. //------------------------------------------------------------------------------
  14. //    constructor
  15. //------------------------------------------------------------------------------
  16. rcpolygon::rcpolygon (point_3d *buffer, uchar count, va_list pts) :                            //    normal constructor
  17. polygon (buffer, count, pts)                                                                                                        //    parent class constructor
  18. {                                                                                                                                                                //    begin
  19.     ref_count = 0;                                                                                                                                //    initialize the reference count
  20. }                                                                                                                                                                //    end
  21.  
  22. //------------------------------------------------------------------------------
  23. //    constructor
  24. //------------------------------------------------------------------------------
  25. rcpolygon::rcpolygon (point_3d *buffer, uchar count) :                                                    //    normal constructor
  26. polygon (buffer, count)                                                                                                                    //    parent class constructor
  27. {                                                                                                                                                                //    begin
  28.     ref_count = 0;                                                                                                                                //    initialize the reference count
  29. }                                                                                                                                                                //    end
  30.  
  31. //------------------------------------------------------------------------------
  32. //    destructor
  33. //------------------------------------------------------------------------------
  34. rcpolygon::~rcpolygon (void)                                                                                                        //    destructor
  35. {                                                                                                                                                                //    begin
  36. }                                                                                                                                                                //    end
  37.  
  38. //------------------------------------------------------------------------------
  39.